// 导出后台管理的路由规则

import Layout from '@/layout'


export default {
    path: '/backStage',
    name: 'backStage',
    component: Layout,
    meta: {
        title: '后台管理',
        icon: 'message'
    },
    children: [{
            path: 'users',
            name: 'users',
            component: () =>
                import ('@/views/users'),
            meta: {
                title: '用户',
                icon: 'user'
            }
        }, {
            path: 'menus',
            name: 'menus',
            component: () =>
                import ('@/views/menus'),
            meta: {
                title: '菜单',
                icon: 'icon'
            }
        },
        {
            path: 'permission',
            name: 'permission',
            component: () =>
                import ('@/views/permission'),
            meta: {
                title: '权限',
                icon: 'language'
            }
        },
        {
            path: 'journal',
            name: 'journal',
            component: () =>
                import ('@/views/journal'),
            meta: {
                title: '日志',
                icon: 'eye-open'
            }
        }
    ]
}